import { request } from '@/common/request.js'
// 获取轮播图图
export function swiperList(data) {
	return request({
		url: `/rend/getBanner`,
		method: 'post',
		data,
	})
}
// 获取轮播图详情
export function getBannerInfo(data) {
	return request({
		url: `/rend/getBannerInfo`,
		method: 'post',
		data,
	})
}
// 获取搜索参数
export function getSelect(data) {
	return request({
		url: `/rend/select`,
		method: 'post',
		data,
	})
}
// 查询房源列表
export function getList(data) {
	return request({
		url: `/realestate/getRealestateList`,
		method: 'post',
		data,
	})
}
// 查询房源详情
export function getRealestateInfo(data) {
	return request({
		url: `/realestate/getRealestateInfo`,
		method: 'post',
		data,
	})
}
// 查询房源手机号
export function getRealestatePhone(data) {
	return request({
		url: `/realestate/getRealestatePhone`,
		method: 'post',
		data,
	})
}
// 查询房源列表
export function getWantList(data) {
	return request({
		url: `/want/getWantList`,
		method: 'post',
		data,
	})
}
// 查询房源详情
export function getWantInfo(data) {
	return request({
		url: `/want/getWantInfo`,
		method: 'post',
		data,
	})
}
// 获取电话
export function getWantPhone(data) {
	return request({
		url: `/want/getWantPhone`,
		method: 'post',
		data,
	})
}
// 获取电话
export function getTel(data) {
	return request({
		url: `/member/tel`,
		method: 'post',
		data,
	})
}
// 获取电话
export function getTeneList(data) {
	return request({
		url: `/rend/tene_list`,
		method: 'post',
		data,
	})
}

